package com.liuda.workbench.service.impl;

import com.liuda.workbench.domain.CAR;
import com.liuda.workbench.mapper.CARMapper;
import com.liuda.workbench.service.CARService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CARServiceImpl implements CARService {
    @Autowired
    CARMapper carMapper;
    @Override
    public int insertList(List<CAR> carList) {
        return carMapper.insertList(carList);
    }

    @Override
    public int deleteByActivityIdAndClueId(String activityId, String clueId) {
        return carMapper.deleteByActivityIdAndClueId(activityId,clueId);
    }
}
